package com.intellagric.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class IftDataRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public IftDataRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIsNull() {
            addCriterion("equipment_id is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIsNotNull() {
            addCriterion("equipment_id is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdEqualTo(String value) {
            addCriterion("equipment_id =", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotEqualTo(String value) {
            addCriterion("equipment_id <>", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdGreaterThan(String value) {
            addCriterion("equipment_id >", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdGreaterThanOrEqualTo(String value) {
            addCriterion("equipment_id >=", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLessThan(String value) {
            addCriterion("equipment_id <", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLessThanOrEqualTo(String value) {
            addCriterion("equipment_id <=", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLike(String value) {
            addCriterion("equipment_id like", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotLike(String value) {
            addCriterion("equipment_id not like", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIn(List<String> values) {
            addCriterion("equipment_id in", values, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotIn(List<String> values) {
            addCriterion("equipment_id not in", values, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdBetween(String value1, String value2) {
            addCriterion("equipment_id between", value1, value2, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotBetween(String value1, String value2) {
            addCriterion("equipment_id not between", value1, value2, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andChannelNoIsNull() {
            addCriterion("channel_NO is null");
            return (Criteria) this;
        }

        public Criteria andChannelNoIsNotNull() {
            addCriterion("channel_NO is not null");
            return (Criteria) this;
        }

        public Criteria andChannelNoEqualTo(Integer value) {
            addCriterion("channel_NO =", value, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoNotEqualTo(Integer value) {
            addCriterion("channel_NO <>", value, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoGreaterThan(Integer value) {
            addCriterion("channel_NO >", value, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("channel_NO >=", value, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoLessThan(Integer value) {
            addCriterion("channel_NO <", value, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoLessThanOrEqualTo(Integer value) {
            addCriterion("channel_NO <=", value, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoIn(List<Integer> values) {
            addCriterion("channel_NO in", values, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoNotIn(List<Integer> values) {
            addCriterion("channel_NO not in", values, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoBetween(Integer value1, Integer value2) {
            addCriterion("channel_NO between", value1, value2, "channelNo");
            return (Criteria) this;
        }

        public Criteria andChannelNoNotBetween(Integer value1, Integer value2) {
            addCriterion("channel_NO not between", value1, value2, "channelNo");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdIsNull() {
            addCriterion("check_item_id is null");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdIsNotNull() {
            addCriterion("check_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdEqualTo(String value) {
            addCriterion("check_item_id =", value, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdNotEqualTo(String value) {
            addCriterion("check_item_id <>", value, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdGreaterThan(String value) {
            addCriterion("check_item_id >", value, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdGreaterThanOrEqualTo(String value) {
            addCriterion("check_item_id >=", value, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdLessThan(String value) {
            addCriterion("check_item_id <", value, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdLessThanOrEqualTo(String value) {
            addCriterion("check_item_id <=", value, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdLike(String value) {
            addCriterion("check_item_id like", value, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdNotLike(String value) {
            addCriterion("check_item_id not like", value, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdIn(List<String> values) {
            addCriterion("check_item_id in", values, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdNotIn(List<String> values) {
            addCriterion("check_item_id not in", values, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdBetween(String value1, String value2) {
            addCriterion("check_item_id between", value1, value2, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andCheckItemIdNotBetween(String value1, String value2) {
            addCriterion("check_item_id not between", value1, value2, "checkItemId");
            return (Criteria) this;
        }

        public Criteria andProcessedDataIsNull() {
            addCriterion("processed_data is null");
            return (Criteria) this;
        }

        public Criteria andProcessedDataIsNotNull() {
            addCriterion("processed_data is not null");
            return (Criteria) this;
        }

        public Criteria andProcessedDataEqualTo(Float value) {
            addCriterion("processed_data =", value, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataNotEqualTo(Float value) {
            addCriterion("processed_data <>", value, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataGreaterThan(Float value) {
            addCriterion("processed_data >", value, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataGreaterThanOrEqualTo(Float value) {
            addCriterion("processed_data >=", value, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataLessThan(Float value) {
            addCriterion("processed_data <", value, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataLessThanOrEqualTo(Float value) {
            addCriterion("processed_data <=", value, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataIn(List<Float> values) {
            addCriterion("processed_data in", values, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataNotIn(List<Float> values) {
            addCriterion("processed_data not in", values, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataBetween(Float value1, Float value2) {
            addCriterion("processed_data between", value1, value2, "processedData");
            return (Criteria) this;
        }

        public Criteria andProcessedDataNotBetween(Float value1, Float value2) {
            addCriterion("processed_data not between", value1, value2, "processedData");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeIsNull() {
            addCriterion("acquisition_time is null");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeIsNotNull() {
            addCriterion("acquisition_time is not null");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeEqualTo(Date value) {
            addCriterion("acquisition_time =", value, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeNotEqualTo(Date value) {
            addCriterion("acquisition_time <>", value, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeGreaterThan(Date value) {
            addCriterion("acquisition_time >", value, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("acquisition_time >=", value, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeLessThan(Date value) {
            addCriterion("acquisition_time <", value, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeLessThanOrEqualTo(Date value) {
            addCriterion("acquisition_time <=", value, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeIn(List<Date> values) {
            addCriterion("acquisition_time in", values, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeNotIn(List<Date> values) {
            addCriterion("acquisition_time not in", values, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeBetween(Date value1, Date value2) {
            addCriterion("acquisition_time between", value1, value2, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andAcquisitionTimeNotBetween(Date value1, Date value2) {
            addCriterion("acquisition_time not between", value1, value2, "acquisitionTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeIsNull() {
            addCriterion("reporting_time is null");
            return (Criteria) this;
        }

        public Criteria andReportingTimeIsNotNull() {
            addCriterion("reporting_time is not null");
            return (Criteria) this;
        }

        public Criteria andReportingTimeEqualTo(Date value) {
            addCriterion("reporting_time =", value, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeNotEqualTo(Date value) {
            addCriterion("reporting_time <>", value, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeGreaterThan(Date value) {
            addCriterion("reporting_time >", value, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("reporting_time >=", value, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeLessThan(Date value) {
            addCriterion("reporting_time <", value, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeLessThanOrEqualTo(Date value) {
            addCriterion("reporting_time <=", value, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeIn(List<Date> values) {
            addCriterion("reporting_time in", values, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeNotIn(List<Date> values) {
            addCriterion("reporting_time not in", values, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeBetween(Date value1, Date value2) {
            addCriterion("reporting_time between", value1, value2, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andReportingTimeNotBetween(Date value1, Date value2) {
            addCriterion("reporting_time not between", value1, value2, "reportingTime");
            return (Criteria) this;
        }

        public Criteria andIsWarningIsNull() {
            addCriterion("is_warning is null");
            return (Criteria) this;
        }

        public Criteria andIsWarningIsNotNull() {
            addCriterion("is_warning is not null");
            return (Criteria) this;
        }

        public Criteria andIsWarningEqualTo(Integer value) {
            addCriterion("is_warning =", value, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningNotEqualTo(Integer value) {
            addCriterion("is_warning <>", value, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningGreaterThan(Integer value) {
            addCriterion("is_warning >", value, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_warning >=", value, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningLessThan(Integer value) {
            addCriterion("is_warning <", value, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningLessThanOrEqualTo(Integer value) {
            addCriterion("is_warning <=", value, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningIn(List<Integer> values) {
            addCriterion("is_warning in", values, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningNotIn(List<Integer> values) {
            addCriterion("is_warning not in", values, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningBetween(Integer value1, Integer value2) {
            addCriterion("is_warning between", value1, value2, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsWarningNotBetween(Integer value1, Integer value2) {
            addCriterion("is_warning not between", value1, value2, "isWarning");
            return (Criteria) this;
        }

        public Criteria andIsReadIsNull() {
            addCriterion("is_read is null");
            return (Criteria) this;
        }

        public Criteria andIsReadIsNotNull() {
            addCriterion("is_read is not null");
            return (Criteria) this;
        }

        public Criteria andIsReadEqualTo(Integer value) {
            addCriterion("is_read =", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadNotEqualTo(Integer value) {
            addCriterion("is_read <>", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadGreaterThan(Integer value) {
            addCriterion("is_read >", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_read >=", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadLessThan(Integer value) {
            addCriterion("is_read <", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadLessThanOrEqualTo(Integer value) {
            addCriterion("is_read <=", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadIn(List<Integer> values) {
            addCriterion("is_read in", values, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadNotIn(List<Integer> values) {
            addCriterion("is_read not in", values, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadBetween(Integer value1, Integer value2) {
            addCriterion("is_read between", value1, value2, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadNotBetween(Integer value1, Integer value2) {
            addCriterion("is_read not between", value1, value2, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentIsNull() {
            addCriterion("is_treatment is null");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentIsNotNull() {
            addCriterion("is_treatment is not null");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentEqualTo(Integer value) {
            addCriterion("is_treatment =", value, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentNotEqualTo(Integer value) {
            addCriterion("is_treatment <>", value, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentGreaterThan(Integer value) {
            addCriterion("is_treatment >", value, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_treatment >=", value, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentLessThan(Integer value) {
            addCriterion("is_treatment <", value, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentLessThanOrEqualTo(Integer value) {
            addCriterion("is_treatment <=", value, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentIn(List<Integer> values) {
            addCriterion("is_treatment in", values, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentNotIn(List<Integer> values) {
            addCriterion("is_treatment not in", values, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentBetween(Integer value1, Integer value2) {
            addCriterion("is_treatment between", value1, value2, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andIsTreatmentNotBetween(Integer value1, Integer value2) {
            addCriterion("is_treatment not between", value1, value2, "isTreatment");
            return (Criteria) this;
        }

        public Criteria andWarningReasonIsNull() {
            addCriterion("warning_reason is null");
            return (Criteria) this;
        }

        public Criteria andWarningReasonIsNotNull() {
            addCriterion("warning_reason is not null");
            return (Criteria) this;
        }

        public Criteria andWarningReasonEqualTo(String value) {
            addCriterion("warning_reason =", value, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonNotEqualTo(String value) {
            addCriterion("warning_reason <>", value, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonGreaterThan(String value) {
            addCriterion("warning_reason >", value, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonGreaterThanOrEqualTo(String value) {
            addCriterion("warning_reason >=", value, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonLessThan(String value) {
            addCriterion("warning_reason <", value, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonLessThanOrEqualTo(String value) {
            addCriterion("warning_reason <=", value, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonLike(String value) {
            addCriterion("warning_reason like", value, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonNotLike(String value) {
            addCriterion("warning_reason not like", value, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonIn(List<String> values) {
            addCriterion("warning_reason in", values, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonNotIn(List<String> values) {
            addCriterion("warning_reason not in", values, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonBetween(String value1, String value2) {
            addCriterion("warning_reason between", value1, value2, "warningReason");
            return (Criteria) this;
        }

        public Criteria andWarningReasonNotBetween(String value1, String value2) {
            addCriterion("warning_reason not between", value1, value2, "warningReason");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}